package net.yunzhanyi.client.service;

import net.yunzhanyi.client.domain.dto.CollectionDto;
import net.yunzhanyi.client.domain.vo.PageVo;

/**
 * @author bestct
 * @date 2022/10/3
 * @type 接口
 */
public interface CollectionService {

    void addCollection(Long resId, long uid, Integer type);


    void cancelCollection(Long resId, long uid, Integer type);

    Boolean isCollected(long uid, Long poetryId, int i);


    PageVo<CollectionDto> getUserCollection(Long uid, Integer type, Integer pageNum, Integer pageSize);


    void cancelCollectionById(Long colId);

    void reCollectionById(Long colId);
}
